package day02;

public class VarDemo {
    public static void main(String[] args) {
        int a;
        a=1;
        int b,c,d;

        int e=10;
        int f=1;
        int g=2;
        int h=1, i=2,j=3;

        int balance=1000;//声明整形变量balance（账户余额）初始化值为1000
        balance=balance+1000;//存款+1000
        System.out.println(balance);
        balance=balance-1500;//取款1500
        System.out.println(balance);//余500

    }
}
